package com.alks.function.data.request.stockdept.pcfactorystockwork;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class PurDisAddRequest {

    @ApiModelProperty(value = "类别")
    private String slipType;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "汇总好")
    private String sumNo;

    @ApiModelProperty(value = "请购单号")
    private String reqNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "客户")
    private String custom;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "分类名称")
    private String mtlType;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @ApiModelProperty(value = "请购日期")
    private LocalDate reqDate;

    @ApiModelProperty(value = "总用量")
    private Float ttlUsage;

    @ApiModelProperty(value = "预加量")
    private Float yQty;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "型体颜色")
    private String styleColor;

    @ApiModelProperty(value = "订购标志位")
    private String purFlag;
}
